-- Copyright (c) 2015,2016 Lucky Byte, Inc.
--
-- Summary : POS 响应码描述
--
-- Author  : xiaohu <xiaohu@lucky-byte.com>
-- Since   : 2016.1.18
--
-- History
--  * 2016.01.30 吴小虎 : 增加多渠道特殊应答码
--  * 2016.03.04 吴小虎 : 增加QQ钱包错误码
--                       增加支付宝错误码
--                       增加微信支付错误码
--                       增加平台自定义错误码
--  * 2016.03.08 吴小虎 : 将QQ钱包、微信支付、支付宝的错误码转移
--

return {
    ['00'] = '交易成功',
    ['01'] = '请持卡人与发卡银行联系',
    ['03'] = '无效商户',
    ['04'] = '此卡为无效卡',
    ['05'] = '持卡人认证失败',
    ['10'] = '部分金额批准',
    ['11'] = '此为VIP客户',
    ['12'] = '无效交易',
    ['13'] = '无效金额',
    ['14'] = '无效卡号',
    ['15'] = '此卡无对应发卡方',
    ['21'] = '该卡未初始化或睡眠卡',
    ['22'] = '操作有误，或超出交易允许天数',
    ['25'] = '没有原始交易，请联系发卡方',
    ['30'] = '报文格式错误',
    ['34'] = '作弊卡，吞卡',
    ['38'] = '密码错误次数超限，请与发卡方联系',
    ['40'] = '发卡方不支持的交易',
    ['41'] = '挂失卡',
    ['43'] = '被窃卡',
    ['51'] = '可用余额不足',
    ['54'] = '该卡已过期',
    ['55'] = '密码错',
    ['57'] = '不允许此卡交易',
    ['58'] = '不允许该卡在本终端进行此交易',
    ['59'] = '卡片校验错',
    ['61'] = '交易金额超限',
    ['62'] = '受限制的卡',
    ['64'] = '交易金额与原始金额不匹配',
    ['65'] = '超出取款次数限制',
    ['68'] = '交易超时，请重试',
    ['75'] = '密码错误次数超限',
    ['90'] = '系统日切，请稍后重试',
    ['91'] = '发卡方状态不正常，请稍后重试',
    ['92'] = '发卡方线路异常，请稍后重试',
    ['94'] = '重复交易，请稍后重试',
    ['96'] = '交换中心异常，请稍后重试',
    ['97'] = '终端号未登记',
    ['98'] = '发卡方超时',
    ['99'] = 'PIN 格式错，请重新签到',
    ['A0'] = 'MAC 校验错，请重新签到',
    ['A1'] = '转账货币不一致',
    ['A2'] = '交易成功，请向资金转入行确认',
    ['A3'] = '资金到账行账号不正确',
    ['A4'] = '交易成功，请向资金到账行确认',
    ['A5'] = '交易成功，请向资金到账行确认',
    ['A6'] = '交易成功，请向资金到账行确认',
    ['A7'] = '安全处理失败',

    ['B1'] = '此业务无欠费',
    ['C1'] = '受理方状态非法',
    ['D1'] = '机构代码错误',
    ['D2'] = '日期错误',
    ['D3'] = '无效的文件类型',
    ['D4'] = '已经处理过的文件',
    ['D5'] = '无此文件',
    ['D6'] = '接收者不支持',
    ['D7'] = '文件锁定',
    ['D8'] = '未成功',
    ['D9'] = '文件长度不符',
    ['DA'] = '文件解压缩错',
    ['DB'] = '文件名称错',
    ['DC'] = '无法接收文件',

    ['N1'] = '未登折帐目超限',

    ['Y1'] = '脱机交易成功',
    ['Y3'] = '不能联机,脱机交易成功',
    ['Z1'] = '脱机交易失败',
    ['Z3'] = '不能联机,脱机交易失败',

    -- 多渠道平台特殊应答码
    ['E1'] = '用户号码无效',
    ['E2'] = '支付号码无效',
    ['E3'] = '费用已缴',
    ['E4'] = '单笔交易金额超限',
    ['E5'] = '日累计交易金额超限',
    ['E6'] = '风险卡账户,请联系发卡行',
    ['E7'] = '支付密码错误',
    ['E8'] = '无效的终端交易时间',
    ['E9'] = '委托关系用户号码数量超限',
    ['F1'] = '退货交易无效',
    ['F2'] = '交易超时,请重试',
    ['F3'] = '无效的行业商户',
    ['F4'] = '行业商户状态异常',
    ['F5'] = '行业商户超时',
    ['F6'] = '无效的交易币种',
    ['F7'] = '无效的交易发起方',
    ['F8'] = '交易发起方状态异常',
    ['F9'] = '转出卡委托不存在',
    ['G1'] = '高风险用户号码',
    ['G2'] = '无效委托关系',
    ['G3'] = '银行卡注册信息无效',
    ['G4'] = '用户号关联信息无效',
    ['H1'] = '关联交易42域不匹配',
    ['H2'] = '无效渠道接入机构',
    ['H3'] = '接入方代码不匹配',
    ['H4'] = '无效行业机构',
    ['K1'] = '系统未开通该交易',
    ['L1'] = '卡种功能尚未开通',
    ['L2'] = '发卡方不支持该无磁或无密交易',
    ['T1'] = '渠道无加载该业务权限',
    ['T2'] = '该业务在多渠道受限',

    -- 批量交易应答码
    ['I1'] = '批量文件装载成功',
    ['I2'] = '文件名格式检查错误',
    ['I3'] = '文件格式检查错误',
    ['I4'] = '汇总记录检查错误(总笔数总金额不符)',
    ['I5'] = '文件MAC校验错误',
    ['I6'] = '文件已撤销',
    ['I7'] = '文件发起方非法',
    ['I8'] = '无效交易金额',
    ['I9'] = '账户交易次数超限',
    ['IA'] = '批量交易接收方非法',
    ['IB'] = '无效的撤销交易',
    ['IC'] = '批量交易类型无效',
    ['ID'] = '不支持批量交易的账户',
    ['IE'] = '批量交易接收超时',
    ['IF'] = '打印次数无效',
    ['IG'] = '无效托管账单',
    ['IH'] = '批量文件装载成功,隔日处理',

    -- 托管数据文件应答码
    ['J1'] = '托管数据装载成功',
    ['J2'] = '文件格式检查错误',
    ['J3'] = '待装载数据与已有数据重复',
    ['J4'] = '行业商户非托管商户',
    ['J5'] = '已缴费',
    ['J6'] = '未缴费',
    ['J7'] = '终止缴费',
    ['J8'] = '未出售',
    ['J9'] = '已出售',
    ['JA'] = '已终止',
    ['JB'] = '已过期',
}
